package com.aaa.springboot_rbac.service;

import com.aaa.springboot_rbac.vo.TreeNode;

import java.util.List;

/**
 * @FileName: MenuService
 * @Description:
 * @Author: 张钰哲
 * @CreateTime: 2025/8/29 16:01
 * @Version: 1.0.0
 */
public interface MenuService {
    /**
     * 查询所有树形菜单数据，
     * @return
     */
    List<TreeNode> queryTreeMenu();

    /**
     * 根据用户id查询用户的树形菜单数据
     * @param userId
     * @return
     */
    List<TreeNode> queryTreeMenuByUserId(Integer userId);
}
